// Copyright (c) 2011 Vratislav Cermak (vratacermak@gmail.com)
//  
// This file is part of SrtSync Project. See http://code.google.com/p/srtsync/ for more information.
//  
// SrtSync is an open source project. Using of SrtSync is free of charge.
// It is distributed under GNU General Public License version 3 (GPLv3).
// GPLv3 can be found at http://www.gnu.org/licenses/gpl.html.
//  
// This program is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE.  See the license for more details.

using System;

namespace SrtSync.Core
{
    public static class About
    {
        static About()
        {
            ProgramName = "SrtSync";
            Website = "http://code.google.com/p/srtsync/";
            Copyright = "Copyright © 2011 Vratislav Čermák";
            License = @"SrtSync is an open source project. Using of SrtSync is free of charge.
It is distributed under GNU General Public License version 3 (GPLv3).
GPLv3 can be found at http://www.gnu.org/licenses/gpl.html.

This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the license for more details.";
            Authors = new string[] {"Vratislav Čermák <vratacermak@gmail.com>"};
        }

        public static string ProgramName { get; set; }

        public static string Website { get; set; }

        public static string Copyright { get; set; }

        public static string[] Authors { get; set; }

        public static string License { get; set; }

        public static string Version
        {
            get
            {
                Version version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
                return String.Format("{0}.{1}.{2}.{3}", version.Major, version.Minor, version.Build, version.Revision);
            }
        }
    }
}